<?php
class Zendvn_View_Helper_CmsIconButton extends Zend_View_Helper_Abstract{
	
	public function cmsIconButton($title ='',$linkImg, $link = null ){
		if($link == NULL){
			$xhtml = '<img src="'.$linkImg.'" title="'. $title.'"/>';
		}else{
			$xhtml = '<a href="'.$link .'">
	             			<img src="'.$linkImg.'" title="'.$title.'" > 
	         		  </a>';
		}
		return $xhtml;
	}
}